package com.aaa.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Bean
 * @since 2021-09-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("front_user")
public class FrontUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "uid", type = IdType.AUTO)
    private Integer uid;

    @TableField("uname")
    private String uname;

    @TableField("username")
    private String username;

    @TableField("password")
    private String password;

    @TableField("phone")
    private String phone;

    /**
     * 头像
     */
    @TableField("photo")
    private String photo;

    /**
     * 个签
     */
    @TableField("signature")
    private String signature;

    @TableField("sex")
    private String sex;

    /**
     * 创建时间
     */
    @TableField("setuptime")
    private Date setuptime;

    /**
     * 推送信息 0是推送  1是不推送
     */
    @TableField("push")
    private Integer push;

    /**
     * 状态  0 公开用户   1 私密用户 
     */
    @TableField("state")
    private Integer state;

    /**
     * 评论状态   0 正常  1禁言
     */
    @TableField("commentstate")
    private Integer commentstate;


}
